-- GENERATED SPELL FOR [Time-Lost Skettis Worshipper] --


function spell0_21763(pUnit, Event) --@Curse of Blood,n/a--
pUnit:FullCastSpellOnTarget(38167,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21763', 2000, 1)
end

function Sorts_21763(pUnit, Event)
local choix_sorts_21763 = math.random(0, 0)
if choix_sorts_21763 == 0 then
pUnit:RegisterEvent('spell0_21763', 1, 1)
end
end

function mob21763_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21763', math.random(1500, 3000), 1)
end

function mob21763_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21763_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21763_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21763, 1, 'mob21763_Action')
RegisterUnitEvent(21763, 2, 'mob21763_Leave')
RegisterUnitEvent(21763, 3, 'mob21763_Kill')
RegisterUnitEvent(21763, 4, 'mob21763_Die')
